package org.jeecg.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 公司表
 * @Author: jeecg-boot
 * @Date:   2023-10-17
 * @Version: V1.0
 */
@ApiModel(value="a_company对象", description="公司表")
@Data
@TableName("a_company")
public class Company implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**首页宣传图*/
    @Excel(name = "首页宣传图", width = 15)
    @ApiModelProperty(value = "首页宣传图")
    private String homeShow;
	/**公司展示图*/
	@Excel(name = "公司展示图", width = 15)
    @ApiModelProperty(value = "公司展示图")
    private String companyShow;
    /**产品展示图*/
    @Excel(name = "产品展示图", width = 15)
    @ApiModelProperty(value = "产品展示图")
    private String productShow;
    /**宣传图*/
    @Excel(name = "宣传图", width = 15)
    @ApiModelProperty(value = "宣传图")
    private String promotionalShow;
	/**名字*/
	@Excel(name = "名字", width = 15)
    @ApiModelProperty(value = "名字")
    private String name;
	/**最低价格*/
	@Excel(name = "最低价格", width = 15)
    @ApiModelProperty(value = "最低价格")
    private java.math.BigDecimal minPrice;
	/**最高价格*/
	@Excel(name = "最高价格", width = 15)
    @ApiModelProperty(value = "最高价格")
    private java.math.BigDecimal maxPrice;
	/**评分*/
	@Excel(name = "评分", width = 15)
    @ApiModelProperty(value = "评分")
    private java.math.BigDecimal score;
	/**省*/
	@Excel(name = "省市区", width = 15)
    @ApiModelProperty(value = "省")
    private String province;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
	/**精度*/
	@Excel(name = "精度", width = 15)
    @ApiModelProperty(value = "精度")
    private String longitude;
	/**维度*/
	@Excel(name = "维度", width = 15)
    @ApiModelProperty(value = "维度")
    private String latitude;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phone;
	/**分类id*/
	@Excel(name = "分类id", width = 15, dictTable = "a_catalog", dicText = "name", dicCode = "id")
    @Dict(dictTable = "a_catalog", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "分类id")
    private Integer catelogId;
	/**分类名称*/
	@Excel(name = "分类名称", width = 15)
    @ApiModelProperty(value = "分类名称")
    private String catelogName;
	/**内容*/
	@Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private String content;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
